﻿<UserControl x:Class="PatientSearchControl"
             xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
             xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
             xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006" 
             xmlns:d="http://schemas.microsoft.com/expression/blend/2008" 
             xmlns:my="clr-namespace:Horizon.HMS">
    <Grid Height="30" Margin="3">
        <Grid.ColumnDefinitions>
            <ColumnDefinition Width="Auto"/>
            <ColumnDefinition Width="Auto"/>
            <ColumnDefinition Width="100"/>
            <ColumnDefinition Width="Auto"/>
            <ColumnDefinition Width="250"/>
        </Grid.ColumnDefinitions>
        <TextBlock Text="Patient" Style="{StaticResource HyperLinkTextBlockStyle}" Grid.Row="1" Name="PatientTextBlock" MouseLeftButtonDown="PatientTextBlock_MouseLeftButtonDown"/>
        <TextBlock Text=" ID: " Grid.Column="1" Margin="0,5" Style="{StaticResource TextBlockStyle}"/>
        <my:AutoCompleteTextBox x:Name="IdTextBox" Margin="3" Grid.Column="2"/>
        <TextBlock Text="Name: " Margin="3,5" Grid.Column="3" Style="{StaticResource TextBlockStyle}"/>
        <my:AutoCompleteTextBox x:Name="NameTextBox" Margin="3" Grid.Column="4"/>
    </Grid>
</UserControl>
